using System.ComponentModel;

namespace Eno.Domain.Entity.App;

public class AppUser : EntityBase
{
    public string Account { get; set; } = string.Empty;

    public string Password { get; set; } = string.Empty;

    public string Salt { get; set; } = string.Empty;

    public Guid? DepartmentID { get; set; }

    public string? Avatar { get; set; }

    public string? DisplayName { get; set; }
    public string? Email { get; set; }
    public string? Phone { get; set; }

    public ICollection<AppRole> Roles = new List<AppRole>();

    public ICollection<AppDepartment> Departments = new List<AppDepartment>();

}